package com.antis.olsl.magic.analysis;

import com.antis.olsl.base.BasePresenter;
import com.antis.olsl.base.BaseView;
import com.antis.olsl.library.response.SalesroomOrWarehouseInfo;
import com.antis.olsl.magic.response.GetTopAnalysisDetailResp;
import com.antis.olsl.magic.response.GetTopAnalysisTotalResp;

import java.util.List;
import java.util.Map;

public class ViolenceAnalysisContract {

    interface Presenter extends BasePresenter {
        void takeView(ViolenceAnalysisContract.View view);

        void getSalesroomInfoList(Map<String, Object> map);

        void getViolenceAnalysis(Map<String, Object> map);

        void getItemList(Map<String, Object> map);
    }

    interface View extends BaseView<Presenter> {
        void getSalesroomInfoListSuccess(List<SalesroomOrWarehouseInfo> list);

        void getSalesroomInfoListFailure(String msg);

        void getViolenceAnalysisSuccess(List<GetTopAnalysisTotalResp.ContentBean> list);

        void getViolenceAnalysisFailure(String msg);

        void getItemListSuccess(List<GetTopAnalysisDetailResp.ContentBean> list);

        void getItemListFailure(String msg);
    }
}
